package com.css.fxfzypg.modules.resultManagement.reportManagement.repository;

import com.css.fxfzypg.modules.resultManagement.reportManagement.VO.FieldReportManagementVO;
import com.css.fxfzypg.modules.resultManagement.reportManagement.VO.ReportManagementVO;
import com.css.fxfzypg.modules.resultManagement.reportManagement.entity.FieldHistoryUploadReport;
import com.css.fxfzypg.modules.resultManagement.reportManagement.entity.FieldReportManagement;

import java.util.List;
import java.util.Map;

/**
 * @author Dbj
 * @date 2022年12月08日  14:02
 */
public interface SamplingSurveyReportRepository {

    FieldReportManagement getReportByTaskCode(String taskCode);

    void update(FieldReportManagement reportManagement);

    void save(FieldReportManagement reportManagement);

    Map<String, Object> findParentTask(String s, ReportManagementVO vo, int curPage, int pageSize);

    void updateUploadMassage(FieldReportManagement reportManagement);

    void saveUploadMassage(FieldReportManagement reportManagement);

    FieldReportManagement getReportById(String reportId);

    void saveHistoryUploadReport(FieldHistoryUploadReport historyUploadReport);

    FieldReportManagement getReportByTaskId(String taskId);

    Map<String, Object> getHistoryReportByTaskId(String taskId, int curPage, int pageSize);

    FieldHistoryUploadReport getHistoryUploadReportById(String reportId);

    List<FieldReportManagementVO> getFieldReport();

    Map<String, Object> getReportListByTaskId(String taskId, int curPage, int pageSize);
}
